<?
//echo "wwwww<br>";

$srname="mod_settings";
		
$sbjects=GetElementsByCatID($srname, "");
/*echo "<pre>";
print_r($sbjects);
echo "</pre>";*/

if (!empty($sbjects)) {
foreach ($sbjects as $sbj) {

if (empty($sbj['value'])) $sbj['value']=0;

if (!empty($sbj['enname'])) {

 //if ($sbj['enname']=="site_design" and $ip=="93.185.201.14") define("site_design","mastihin1");
 //else 
 define($sbj['enname'],$sbj['value']);
 
 }//if !empty

}//foreach
}//if (!empty($sbjects)) {


?>